package com.dhcc.bpm.modules.bbs.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 门户首页实体类
 *
 * @author donghang
 * @since 2020-03-31
 */
@Data
@TableName("bbs_home_page")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BbsHomePage对象", description = "门户首页")
public class BbsHomePage extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 论坛首页名称
	*/
		@ApiModelProperty(value = "论坛首页名称")
		private String pageName;
	/**
	* 论坛首页编号
	*/
		@ApiModelProperty(value = "论坛首页编号")
		private String pageCode;
	/**
	* 外链URL
	*/
		@ApiModelProperty(value = "外链URL")
		private String url;
	/**
	* 图片附件
	*/
		@ApiModelProperty(value = "图片附件")
		@JsonSerialize( using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
		private Long busId;
	/**
	* 业务主键
	*/
		@ApiModelProperty(value = "业务主键")
		private String busPrimarykey;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;
	/**
	* 是否显示文字描述
	*/
		@ApiModelProperty(value = "是否显示文字描述")
		private String showChar;
	/**
	* 字体颜色
	*/
		@ApiModelProperty(value = "字体颜色")
		private String fontColor;

}
